package com.tlgen.mapper;

import com.tlgen.model.Role;
import com.tlgen.model.User;

import java.util.List;

/**
 * @author: tlgen
 * @Discription:
 */
public interface UserMapper {

    User loadUserByUsername(String username);

    List<Role> getUserRoleById(Integer id);

    List<User> getAllUsersExceptCurrentUser(Integer id);
}
